package com.cysyz.mylib.tplgenerator.impl.struts2;

import com.cysyz.mylib.tplgenerator.impl.AbstractSimpleReplaceAdapter;

public class IncludeReplacAdapter extends AbstractSimpleReplaceAdapter {
    @Override
    public String getMatchRegex() {
        return "<s:include value=\"(.*)\"></s:include>";
    }

    @Override
    public String getReplaceRegex() {
        return "<#include \"$1\" encoding=\"utf-8\">";
    }
}
